package com.wdd.atcrowdfunding.manager.service;

import com.wdd.atcrowdfunding.bean.Role;
import com.wdd.atcrowdfunding.util.Page;
import com.wdd.atcrowdfunding.vo.Data;

import java.util.Map;

public interface RoleService {
    Page<Role> queryRolePage(Map<String, Object> paramMap);

    int deleteRole(Integer id);

    Role getRoleById(Integer id);

    int updateRole(Role role);

    int deleteBatchRoleByVO(Data data);

    int saveRole(Role role);
}
